import os
os.environ["OPENAI_API_BASE"] = 'http://localhost:11434/v1' 
os.environ["OPENAI_API_KEY"] ='NA'

from langchain_openai import ChatOpenAI
llm = ChatOpenAI(model="ollama/qwen2.5:7b")